#!/usr/bin/python
# -*- coding: UTF-8 -*-
from ProductPublishInfoWrite.SaleInfo.ColorClass import colorMainInfo
from ProductPublishInfoWrite.SaleInfo.ProductSale import productSaleInfos
import time
def saleMainFun(browser,filePath):
    #颜色分类
    colorMainInfo.colorMainFun(browser,filePath);


    #滑动鼠标
    time.sleep(2)
    js="var q=document.documentElement.scrollTop=200"
    browser.execute_script(js)

    #宝贝销售规格
    productSaleInfos.writeProductCountAndPrice(browser,filePath)
    pass